What syntax errors might be in my Python palindrome search function

visit shbcf.ru